package com.gengzp.mq.client.model.topic;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName MqTopicResp
 * @Description 主题查询返回实体
 * @Author gengzp
 * @Date 2025/10/22 22:46
 */
public class MqTopicResp implements Serializable {

    @Serial
    private static final long serialVersionUID = -3292382487287958354L;

    /**
     * 主题名
     */
    private String topic;

    /**
     * 主题描述
     */
    private String description;

    /**
     * 主题创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

}
